package com.codi.bus.core.dao;

import com.codi.base.dao.BaseDAO;
import com.codi.base.dao.v2.GeneratedBaseDao;
import com.codi.bus.core.domain.FundCombinationMapping;

import java.util.List;

/**
 * 亲，写个类注释呗
 * @author wangzhenhao
 * @date 2017-11-07 14:11
 */
public interface FundCombinationMappingDao extends BaseDAO<FundCombinationMapping> {
    List<FundCombinationMapping> selectAll();

    List<FundCombinationMapping> query(String combinationCode);

    FundCombinationMapping query(String combinationCode, String fundCode);

    int add(FundCombinationMapping mapping);

    int updateMapping(FundCombinationMapping mapping);

    int delete(Long mappingId);

    int deleteByCombinationCode(String combinationCode);

    FundCombinationMapping queryByPrimaryKey(Long mappingId);
}
